<?php
class ImportSpecForm extends CFormModel
{
    public $modelName;
    public $firstColumnIndex=-1;
    public $redirect;
    public $code;
    public function rules()
    {
        return array(
            array('modelName,redirect','required'),
            array('firstColumnIndex','numerical','integerOnly'=>true),
        );
    }
}

/* vim:set ai sw=4 sts=4 et fdm=marker fdc=4: */ 
?>
